﻿<phone:PhoneApplicationPage
    x:Class="SLARToolKitWinPhoneSample.boxing_main"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False">

    <StackPanel>
        <Grid>
            <!--<Border Background="{StaticResource PhoneAccentBrush}">
            <Image Source="/Images/hand.png" RenderTransformOrigin=".5,.5" ImageFailed="Image_ImageFailed" Height="604">
                <Image.RenderTransform>
                    <CompositeTransform x:Name="ImageTransform" ScaleX="1"/>
                </Image.RenderTransform>
            </Image>

        </Border>-->
            <Border Background="{StaticResource PhoneAccentBrush}">
                <Image Source="/Images/hand1.png" RenderTransformOrigin=".5,.5" ImageFailed="Image_ImageFailed">
                    <Image.RenderTransform>
                        <CompositeTransform x:Name="ImageTransform" ScaleX="1"/>
                    </Image.RenderTransform>
                </Image>

            </Border>
            <TextBlock x:Name="count" Text="0" Height="95" RenderTransformOrigin="0.5,0.5" FontSize="70" HorizontalAlignment="Center" Margin="330,400,10,311" FontFamily="Segoe WP Semibold" Width="140">
                <TextBlock.RenderTransform>
                    <CompositeTransform ScaleY="1"/>
                </TextBlock.RenderTransform>
            </TextBlock>
            <TextBlock x:Name="calories" Text="0" FontSize="70" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="330,618,10,95" FontFamily="Segoe WP Semibold" Width="140" />
            <TextBlock Text="Times" Margin="330,365,90,411"></TextBlock>
            <TextBlock Text="Calories" Margin="330,583,80,193"></TextBlock>
            <TextBlock Text="Hold your handphone tightly and punch." Margin="100,761,10,0"></TextBlock>
            <TextBlock Text="Boxing Game" Margin="11.44,695.541,-130,-283" FontFamily="Segoe WP Semibold" FontSize="50" Opacity="0.4" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
                <TextBlock.RenderTransform>
                    <CompositeTransform Rotation="0.123"/>
                </TextBlock.RenderTransform></TextBlock>
        </Grid>
    </StackPanel>

    <!--Sample code showing usage of ApplicationBar-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="False" IsMenuEnabled="True" Opacity=".5">
            <!--<shell:ApplicationBarIconButton IconUri="/Images/appbar.bell.png" Text="Bell" Click="AbBellBtn_Click"/>-->
            <shell:ApplicationBarIconButton IconUri="/Images/appbar.rightHand.png" Text="Switch Hand" Click="AbSwtichHandBtn_Click"/>
            <!--<shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Setting" Click="AbmSettingBtn_Click"/>
                <shell:ApplicationBarMenuItem Text="About Me" Click="AbmAboutMeBtn_Click"/>
            </shell:ApplicationBar.MenuItems>-->
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

</phone:PhoneApplicationPage>